# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=dragon-backdoor
pkgver=7.c7416b7
pkgrel=4
groups=('blackarch' 'blackarch-backdoor' 'blackarch-sniffer'
        'blackarch-windows')
pkgdesc='A sniffing, non binding, reverse down/exec, portknocking service Based on cd00r.c.'
arch=('any')
url='https://github.com/Shellntel/backdoors'
license=('custom:unknown')
makedepends=('git')
source=("$pkgname::git+https://github.com/Shellntel/backdoors.git")
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -Dm 644 -t "$pkgdir/usr/share/windows/dragon/" *
}

